package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_palace_daily_reward", desc = "皇城每日奖励日志", autoSave = true, uploadCk = true)
public class LogPalaceDailyReward extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "类型，0：职位；1：幕宾")
    private int type;
    @FieldTypeAnnotation(desc = "皇宫位置")
    private int pos;
    @FieldTypeAnnotation(desc = "类型")
    private String reward;

    public LogPalaceDailyReward(int activityId, long userId, int type, int pos, String reward) {
        this.activityId = activityId;
        this.userId = userId;
        this.type = type;
        this.pos = pos;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
